package my.com.sunway.bean;

import java.io.Serializable;
import org.apache.commons.lang.builder.ToStringBuilder;


/** @author Hibernate CodeGenerator */
public class F9202 implements Serializable {

    /** identifier field */
    private String frdtai;

    /** identifier field */
    private String frlngp;

    /** identifier field */
    private String frsyr;

    /** nullable persistent field */
    private String frch1;

    /** nullable persistent field */
    private String frch2;

    /** nullable persistent field */
    private String frch3;

    /** nullable persistent field */
    private String frdscr;

    /** full constructor */
    public F9202(String frdtai, String frlngp, String frsyr, String frch1, String frch2, String frch3, String frdscr) {
        this.frdtai = frdtai;
        this.frlngp = frlngp;
        this.frsyr = frsyr;
        this.frch1 = frch1;
        this.frch2 = frch2;
        this.frch3 = frch3;
        this.frdscr = frdscr;
    }

    /** default constructor */
    public F9202() {
    }

    /** minimal constructor */
    public F9202(String frdtai, String frlngp, String frsyr) {
        this.frdtai = frdtai;
        this.frlngp = frlngp;
        this.frsyr = frsyr;
    }

    public String getFrdtai() {
        return this.frdtai;
    }

    public void setFrdtai(String frdtai) {
        this.frdtai = frdtai;
    }

    public String getFrlngp() {
        return this.frlngp;
    }

    public void setFrlngp(String frlngp) {
        this.frlngp = frlngp;
    }

    public String getFrsyr() {
        return this.frsyr;
    }

    public void setFrsyr(String frsyr) {
        this.frsyr = frsyr;
    }

    public String getFrch1() {
        return this.frch1;
    }

    public void setFrch1(String frch1) {
        this.frch1 = frch1;
    }

    public String getFrch2() {
        return this.frch2;
    }

    public void setFrch2(String frch2) {
        this.frch2 = frch2;
    }

    public String getFrch3() {
        return this.frch3;
    }

    public void setFrch3(String frch3) {
        this.frch3 = frch3;
    }

    public String getFrdscr() {
        return this.frdscr;
    }

    public void setFrdscr(String frdscr) {
        this.frdscr = frdscr;
    }

    public String toString() {
        return new ToStringBuilder(this)
            .append("frdtai", getFrdtai())
            .append("frlngp", getFrlngp())
            .append("frsyr", getFrsyr())
            .toString();
    }
    
    @Override
    public boolean equals(Object obj){
     boolean flag = false;
     
     if(obj instanceof F9202){
      F9202 other = (F9202)obj;
      
      if(other.toString().equals(toString())){
       flag = true;
      }
     }
     
     return flag;
    }
    
    @Override
    public int hashCode(){
     return toString().hashCode();
    }

}
